package test01;

/**
 * @Author czl
 * @Date 2024-04-09
 */
public class MainTest01 {
    public static void main(String[] args) {
        Sum sum = (a,b) -> {
            System.out.println("Lambda表达式：和:" + (a+b));
            System.out.println("Lambda表达式：差:" + (a-b));
            System.out.println("Lambda表达式：乘:" + (a*b));
            System.out.println("Lambda表达式：积:" + (a/b));
        };
        sum.sum(10,2);

    }
}
